package com.woniuxy.hrms.dao;

import com.woniuxy.hrms.entity.Hr;

import java.sql.SQLException;
import java.util.List;

public interface IHrDao {
    int add(Hr hr) throws SQLException;

    int delete(int id) throws SQLException;

    int update(Hr hr) throws SQLException;

    List<Hr> queryALL() throws SQLException;

    //查询
    boolean queryByUsername(String username) throws SQLException;
}
